package com.machine.filling.net.http.response;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/2/16 0016.
 * 已添加的油枪
 */

public class OilGunListResBean extends BaseHttpResponseBean{

    /**
     * result : {"guns":[{"portNum":"1","num":"1","name":"1号油枪","id":1},{"portNum":"2","num":"2","name":"2号油枪","id":2}]}
     * msg : 操作成功
     * code : 0000
     */

    private ResultBean result;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        private List<GunsBean> guns;

        public List<GunsBean> getGuns() {
            return guns;
        }

        public void setGuns(List<GunsBean> guns) {
            this.guns = guns;
        }

        public static class GunsBean implements Serializable {
            /**
             * portNum : 1
             * num : 1
             * name : 1号油枪
             * id : 1
             */


            private String id;
            private String sellerId;
            private String machineId;
            private String potId;
            private String typeId;
            private String num;
            private String name;
            private String initAmount;
            private String portNum;
            private String createD;
            private String currentAmount;
            private String typeName;
            private String oilPotNum;

            public String getOilPotNum() {
                return oilPotNum;
            }

            public void setOilPotNum(String oilPotNum) {
                this.oilPotNum = oilPotNum;
            }

            public String getTypeName() {
                return typeName;
            }

            public void setTypeName(String typeName) {
                this.typeName = typeName;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getSellerId() {
                return sellerId;
            }

            public void setSellerId(String sellerId) {
                this.sellerId = sellerId;
            }

            public String getMachineId() {
                return machineId;
            }

            public void setMachineId(String machineId) {
                this.machineId = machineId;
            }

            public String getPotId() {
                return potId;
            }

            public void setPotId(String potId) {
                this.potId = potId;
            }

            public String getTypeId() {
                return typeId;
            }

            public void setTypeId(String typeId) {
                this.typeId = typeId;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getInitAmount() {
                return initAmount;
            }

            public void setInitAmount(String initAmount) {
                this.initAmount = initAmount;
            }

            public String getPortNum() {
                return portNum;
            }

            public void setPortNum(String portNum) {
                this.portNum = portNum;
            }

            public String getCreateD() {
                return createD;
            }

            public void setCreateD(String createD) {
                this.createD = createD;
            }

            public String getCurrentAmount() {
                return currentAmount;
            }

            public void setCurrentAmount(String currentAmount) {
                this.currentAmount = currentAmount;
            }
        }
    }
}
